require('open-uri')

url = "http://www.ituring.com.cn/article/274457"
filename = "./file/my-app1/kongyiji1.html"

File.open(filename, "wb") do |f|
  text = URI.open(url, "r:utf-8").read
  f.write text
end